import { axios } from '@/utils/request'
//订单管理
export function  getManageList(parameter){
    console.log(parameter);
    return axios({
      url: 'jbd/jbdOrder/list',
      method: 'GET',
      params: parameter,
      headers: {
        'Content-Type': 'application/x-www-form-urlencoded',
      }
    })
  }
  
  //订单详情
  export function  getManageById(parameter){
    console.log(parameter);
    return axios({
      url: 'jbd/jbdOrder/queryById',
      method: 'GET',
      params: parameter,
      headers: {
        'Content-Type': 'application/x-www-form-urlencoded',
      }
    })
  }
  

 

  // 付款回执
export function  paymentReceipt(parameter){
  return axios({
    url: 'jbd/jbdLeads/paymentReceipt',
    method: 'PUT',
    data: parameter,
    headers: {
      'Content-Type': 'application/json',
    }
  })
}

  // 付款回执
  export function  jbdOrderReview(parameter){
    return axios({
      url: '/jbd/jbdOrder/review',
      method: 'PUT',
      data: parameter,
      headers: {
        'Content-Type': 'application/json',
      }
    })
  }
  


// 订单导出
export function JbdOrderXls(parameter) {
  return axios({
    url: 'jbd/jbdOrder/exportXls',
    method: 'get',
    params: parameter,
    headers: {
      'Content-Type': 'application/x-www-form-urlencoded',
    }
  })
}